
package com.yiren.backstage.currency.enums;

/**
 * 车辆状态枚举
 */
public enum CarStateValueEnum {

    NO_DETECT("无信号"),

    DETECTING("检测中"),

    PASS("通过"),

    NO_PASS("未通过"),

    OPEN("开启"),

    CLOSE("关闭"),

    START("启动"),

    STOP("停止"),

    ADJUST("调整"),      //后视镜、反光镜、座椅

    NOT_ADJUST("未调整"),//后视镜、反光镜、座椅

    HITCH("系好"),       //安全带

    COCKING("拉紧"),     //手刹

    STEP_ON("踩住"),     //脚刹、副刹、离合

    LOOSEN("松开"),      //脚刹、副刹、手刹、安全带、离合

    TOUCH("触摸"),

    NOT_TOUCH("未触摸"),

    HALF_SEPARATE("半联动"),

    NEUTRAL_GEAR("空挡", 0),

    ONE_GEAR("一挡", 1),

    TWO_GEAR("二挡", 2),

    THREE_GEAR("三挡", 3),

    FOUR_GEAR("四挡", 4),

    FIVE_GEAR("五挡", 5),

    UNKNOWN_GEAR("未知挡", 6),

    REVERSE_GEAR("倒挡", -1),

    SMOOTH("平稳"),

    TURN("转动"),

    FORWARD("前进"),

    BACK("后退"),

    //<!--------------道路行驶标识状态------------------>

    ZX_BS("路口直行标识"),

    ZZ_BS("路口左转标识"),

    YZ_BS("路口右转标识"),

    DT_BS("掉头标识"),

    ZXZZ_BS("直行左转标识"),

    ZXYZ_BS("直行右转标识"),

    ZXDT_BS("直行掉头标识"),

    ZZDT_BS("左转掉头标识"),

    ZXZZDT_BS("直行左转掉头标识"),

    ZYZ_BS("左右转标识"),

    KEY_LOCK_OFF("LOCK/OFF"),

    KEY_ACC("ACC"),

    KEY_START("START"),

    KEY_ON("ON"),

    ;

    private String name;
    private Integer value;
    private String autoGearTranslate;  //自动档转义

    CarStateValueEnum(String name) {
        this.name = name;
    }

    CarStateValueEnum(String name, Integer value) {
        this.name = name;
        this.value = value;
    }

    CarStateValueEnum(String name, int value, String autoGearTranslate) {
        this.name = name;
        this.value = value;
        this.autoGearTranslate = autoGearTranslate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getAutoGearTranslate() {
        return autoGearTranslate;
    }

    public void setAutoGearTranslate(String autoGearTranslate) {
        this.autoGearTranslate = autoGearTranslate;
    }

}
